//
//  ZWCollectScenicCell.m
//  wan
//
//  Created by apple on 16/3/1.
//  Copyright © 2016年 MyCompany. All rights reserved.
//

#import "ZWCollectScenicCell.h"


@interface ZWCollectScenicCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *scenicView;
@property (weak, nonatomic) IBOutlet UILabel *fromView;
@end

@implementation ZWCollectScenicCell

- (void)setCollectScenic:(ZWCollectScenic *)collectScenic
{
    _collectScenic = collectScenic;
    
//    // 1.图片
//    self.iconView.image = [UIImage imageNamed:collectScenic.icon];
//    
//    // 2.景区
//    self.scenicView.text = collectScenic.scenic;
//    
//    // 3.出自
//    self.fromView.text = collectScenic.from;
    
    // 1.图片
    self.iconView.image = [UIImage imageNamed:@"配图3"];
    
    // 2.景区
    self.scenicView.text = @"日光岩";
    
    // 3.出自
    self.fromView.text = @"来自鼓浪屿景区";
}

@end
